/*
 * 手动copy自 `DGZImp.WmsProject/DomainModels/Warehouse/Wms_Container.cs`
 * 有更改记得覆盖
 */

using SqlSugar;

namespace DGZImp.MdsProject.DomainModels;

[Entity(TableCnName = "容器管理",TableName = "Wms_Container",DBServer = "ServiceDbContext")]
public partial class Wms_Container:ServiceEntity
{
    /// <summary>
    ///容器编码
    /// </summary>
    [Display(Name ="容器编码")]
    [MaxLength(100)]
    [Column(TypeName="nvarchar(100)")]
    [Editable(true)]
    public string ContainerCode { get; set; }

    /// <summary>
    ///容器名称
    /// </summary>
    [Display(Name ="容器名称")]
    [MaxLength(100)]
    [Column(TypeName="nvarchar(100)")]
    [Editable(true)]
    public string ContainerName { get; set; }

    /// <summary>
    ///容器类型
    /// </summary>
    [Display(Name ="容器类型")]
    [Column(TypeName="int")]
    [Editable(true)]
    [Required(AllowEmptyStrings=false)]
    public int ContainerType { get; set; }

    /// <summary>
    ///是否启用
    /// </summary>
    [Display(Name ="是否启用")]
    [Column(TypeName="int")]
    [Editable(true)]
    public int? Enabled { get; set; }

    /// <summary>
    ///仓库
    /// </summary>
    [Display(Name ="仓库")]
    [Column(TypeName="bigint")]
    [Editable(true)]
    public long? WarehouseId { get; set; }

    /// <summary>
    ///ID
    /// </summary>
    [SugarColumn(IsPrimaryKey = true)]
    [Key]
    [Display(Name ="ID")]
    [Column(TypeName="bigint")]
    [Required(AllowEmptyStrings=false)]
    public long ContainerId { get; set; }

    /// <summary>
    ///备注
    /// </summary>
    [Display(Name ="备注")]
    [MaxLength(2000)]
    [Column(TypeName="nvarchar(2000)")]
    public string Remarks { get; set; }

    /// <summary>
    ///是否有效
    /// </summary>
    [Display(Name ="是否有效")]
    [Column(TypeName="int")]
    public int? IsValid { get; set; }

    /// <summary>
    ///重量
    /// </summary>
    [Display(Name ="重量")]
    [Column(TypeName="double")]
    public decimal? Weight { get; set; }

    /// <summary>
    ///创建用户
    /// </summary>
    [Display(Name ="创建用户")]
    [Column(TypeName="bigint")]
    [Required(AllowEmptyStrings=false)]
    public long CreateId { get; set; }

    /// <summary>
    ///创建人
    /// </summary>
    [Display(Name ="创建人")]
    [MaxLength(50)]
    [Column(TypeName="nvarchar(50)")]
    public string Creator { get; set; }

    /// <summary>
    ///创建时间
    /// </summary>
    [Display(Name ="创建时间")]
    [Column(TypeName="datetime")]
    public DateTime? CreateTime { get; set; }

    /// <summary>
    ///修改用户
    /// </summary>
    [Display(Name ="修改用户")]
    [Column(TypeName="bigint")]
    public long? ModifyId { get; set; }

    /// <summary>
    ///修改人
    /// </summary>
    [Display(Name ="修改人")]
    [MaxLength(30)]
    [Column(TypeName="nvarchar(30)")]
    public string Modifier { get; set; }

    /// <summary>
    ///修改时间
    /// </summary>
    [Display(Name ="修改时间")]
    [Column(TypeName="datetime")]
    public DateTime? ModifyTime { get; set; }

       
}